const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  path: state => state.app.path,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  selectValue: (state) => state.user.selectValue,
  formValue: (state) => state.user.formValue,
  departmentValue: (state) => state.user.departmentValue,
  pageData: (state) => state.user.pageData,
  showId: (state) => state.user.showId,
  oneLevel: (state) => state.user.oneLevel,
  changeValue: (state) => state.user.changeValue,
  attendanceDate: (state) => state.user.attendanceDate,
  activeOne: (state) => state.user.activeOne,
  activeTwo: (state) => state.user.activeTwo,
  idList: (state) => state.user.idList,
  codeList: (state) => state.user.codeList,
  code: (state) => state.user.code,
  serchObj: (state) => state.app.serchObj,
  gateSwaitch: (state) => state.user.gateSwaitch,
  adminObj: (state) => state.user.adminObj,
  editStatus: (state) => state.user.editStatus
}
export default getters
